<template>
	<view>
		<u-swiper :list="list.pics" class="imm" name="pics_big" height="1000rpx"></u-swiper>
		
		
	</view>
</template>

<script lang="ts">
import { reactive, toRefs } from "vue"
import {getXqy} from '../../api/api'
	export default {
	setup(props, context) {
		let data=reactive({
			list:[]
		})
		
		
		return{
			...toRefs(data)
		}
	},
	onLoad(option) {
		console.log(option);
		getXqy(option.id).then(res=>{
			this.list=res.message
			console.log(this.list);
		})
	}
	}
</script>

<style>
.imm{
	width: 100%;
	height: 100%;
}
</style>
